package com.newcapec.org.demo.service;

import com.newcapec.org.demo.dao.EmployeeInfoDao;
import com.newcapec.org.demo.entity.EmployeeInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class EmployeeInfoService {
    @Resource
    private EmployeeInfoDao employeeInfoDao;
    public EmployeeInfo selectByUserId(Integer userId){
        return employeeInfoDao.selectByUserId(userId);
    }
}
